package com.xuerhua.yxt.dao;

import java.util.List;

import com.xuerhua.yxt.model.SchoolPropertyGoodsName;
import com.xuerhua.yxt.page.Page;
import com.xuerhua.yxt.view.SchoolPropertyGoodsNameView;

public interface SchoolPropertyGoodsNameMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SchoolPropertyGoodsName record);

    int insertSelective(SchoolPropertyGoodsName record);

    SchoolPropertyGoodsName selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SchoolPropertyGoodsName record);

    int updateByPrimaryKey(SchoolPropertyGoodsName record);
    
    /**
     * 通过参数查询物品名称
     * */
	List<SchoolPropertyGoodsName> selectGoodsNameByParams(SchoolPropertyGoodsName record);
	/**
	 * 通过参数查询物品名称
	 * */
	List<SchoolPropertyGoodsNameView> selectGoodsNameViewByParams(SchoolPropertyGoodsName record);
	/**
	 * 分页查询物品名称
	 * */
	List<SchoolPropertyGoodsName> selectGoodsNameByPage(Page<SchoolPropertyGoodsName> page);
}